Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create README.md #25

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Create README.md #25

wants to merge 13 commits into from

Conversation

leoberhelman
Copy link
Contributor

@leoberhelman leoberhelman commented Mar 6, 2025

This pull request handles the read me and the --help option with the specific instructions for singular functions

@leoberhelman leoberhelman self-assigned this Mar 6, 2025
Copy link
Collaborator

@atteggiani atteggiani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @leoberhelman for working on this.
The structure looks good and the "TO BE ADDED" parts can be dealt with in the future.

Apart from the specific suggestions, as I mentioned in some comments, it might be useful to add some more detailed description and examples within each of the parsers.

README.md Outdated
Comment on lines 20 to 24
### change_date.py
NEED TO ADD DESCRIPTION


Currently these files only operate on Dump files and include a work around to deal with the river field grids.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### change_date.py
NEED TO ADD DESCRIPTION
Currently these files only operate on Dump files and include a work around to deal with the river field grids.
### change_date
Change the date of a UM restart file.
Run `change_date --help` for detailed usage information.

More information to be added within the parser, same as perturbIC

README.md Outdated
Currently these files only operate on Dump files and include a work around to deal with the river field grids.

## Installation
DICUSS AT SOME POINT
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
DICUSS AT SOME POINT
TO BE ADDED

README.md Outdated
Comment on lines 29 to 50
## Usage

```python
If the user wants to run perturbIC with a specific output filename
python perturbIC input_file_path -a 0.01 -s 2234 -o output_file_path

Otherwise it is optional perturbIC will create a filename from the input path
python perturbIC input_file_path -a 0.01 -s 2234

The amplitude and seed are also optional as well
python perturbIC input_file_path -a 0.01 -s 2234

To take a subset of field the user must provide a either a list of fields to exculde (-x)
python um_fields_subset.py input_file_path -x 155,156,3100,3101

To take a subset of field the user must provide a either a list of fields to include (-v)
python um_fields_subset.py input_file_path -v 155,156,3100,3101

Or you can choose to have the program to only include pronostics -p
python um_fields_subset.py input_file_path -p

These three options must be run seperately
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Usage
```python
If the user wants to run perturbIC with a specific output filename
python perturbIC input_file_path -a 0.01 -s 2234 -o output_file_path
Otherwise it is optional perturbIC will create a filename from the input path
python perturbIC input_file_path -a 0.01 -s 2234
The amplitude and seed are also optional as well
python perturbIC input_file_path -a 0.01 -s 2234
To take a subset of field the user must provide a either a list of fields to exculde (-x)
python um_fields_subset.py input_file_path -x 155,156,3100,3101
To take a subset of field the user must provide a either a list of fields to include (-v)
python um_fields_subset.py input_file_path -v 155,156,3100,3101
Or you can choose to have the program to only include pronostics -p
python um_fields_subset.py input_file_path -p
These three options must be run seperately

Examples like these should instead be included directly within the related parser, so they show up when <function> --help is run`.

leoberhelman and others added 11 commits March 7, 2025 10:51
Seperated the usage case
Add the usage for the change_dump_date
Co-authored-by: Davide Marchegiani <[email protected]>
Co-authored-by: Davide Marchegiani <[email protected]>
Co-authored-by: Davide Marchegiani <[email protected]>
Co-authored-by: Davide Marchegiani <[email protected]>
Co-authored-by: Davide Marchegiani <[email protected]>
Co-authored-by: Davide Marchegiani <[email protected]>
Co-authored-by: Davide Marchegiani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants